/*
 * Copyright (c) 2018年01月16日  by XuanWu Wireless Technology Co., Ltd 
 *             All rights reserved  
 */
package com.zml.thirteen.example1;

/**
 * @author <a href="mailto:zhaominglin@wxchina.com">minglin.Zhao</a>
 * @Description 客户端类
 * @Date 2018/1/16
 * @Version 1.0.0
 */
public class Client {
    public static void main(String[] args) {
        //组装责任链
        Handler handler1 = new ConcreteHandler();
        Handler handler2 = new ConcreteHandler();
        handler1.setSuccessor(handler2);
        //提交请求
        handler1.handleRequest();
    }

}
